package com.tinem.platform.web.file.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @program: platform
 * @description: ${description}
 * @author: eden#can
 * @Slogan: 没有所谓失败，除非你不再尝试
 * @date: 2021-12-10 18:04
 **/
@Data
@ApiModel("文件保存")
public class UploadFileVO {

    /**
     * 文件base64流
     */
    @NotBlank(message = "fileBase64 is not blank!")
    @ApiModelProperty(name = "fileBase64", value = "文件base64流",required = true)
    private String fileBase64;

    /**
     * 文件名
     */
    @NotBlank(message = "fileName is not blank!")
    @ApiModelProperty(name = "fileName", value = "文件名",required = true)
    private String fileName;

}
